package com.example.application.config;

import com.example.application.pojo.Person;
import com.example.application.pojo.Person2;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig2 {

    @Bean
    public Person2 person2(){
        return new Person2(213,"王五");
    }

}
